package com.bocai.kelalacar.ui.driver.main.contract;

import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.CheckLineBean;
import com.bocai.kelalacar.bean.MyAddressBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/28.
 */

public interface DriverPublishContract {

    interface view extends BaseView {

        void checkLineSuccess(CheckLineBean bean);

        void publishStrokeSuccess();

        void originAreasList(List<MyAddressBean> list);

        void arriveAreasList(List<MyAddressBean> list);

    }
    abstract static class presenter  {


        public abstract void checkLine(String addressId);

        public abstract void publishStroke(String PriceId,String DepartureTime,String Deadline);

        //出发地列表
        public abstract void originAreas();

        //目的地列表
        public abstract void arriveAreas(String originCityId,String originAddress);

    }

}
